#ifndef FACETRACKER_HPP
#define FACETRACKER_HPP

#include "abstractProbabilityTransformer.hpp"

class FaceTracker {
public:
	FaceTracker( cv::Ptr< AbstractProbabilityTransformer > probTrans );
	void track( cv::Mat& nextImage, cv::Rect& );
private:
	cv::Ptr< AbstractProbabilityTransformer > probTrans;
	cv::Rect getFaceScanRect( const cv::Size& outerFrame, const cv::Rect& trackingRect );
	cv::Mat imgFaceHSV;
	cv::Mat faceBackProj;
};

#endif